
import { Table } from "antd";

const PersonalTable = () => {
    const dataSource = [
        {
            key: '1',
            name: '2018',
            age: "论文1",
            address: 'SCI1区',
        },
        {
            key: '2',
            name: '2019',
            age: "论文2",
            address: 'SCI2区',
        },
    ];

    const columns = [
        {
            title: '年份',
            dataIndex: 'name',
            key: 'name',
        },
        {
            title: '论文名字',
            dataIndex: 'age',
            key: 'age',
        },
        {
            title: '期刊',
            dataIndex: 'address',
            key: 'address',
        },
    ];

    return (
        <Table dataSource={dataSource} columns={columns} size={"small"}/>
    )
};


export default PersonalTable;